<?php
return array(
	'request' => array(
		'enableCsrfValidation' => false,
		'enableCookieValidation' => true,
	),
	'user' => array(
		'class' => 'application.common.components.auth.WebUser',
		// enable cookie-based authentication
		'allowAutoLogin' => true,
	),
	'securityManager' => array(
		'class' => 'application.common.components.SecurityManager',
		'hashAlgorithm' => 'sha512',
	),
	'cache' => array(
		'class' => 'CDummyCache',
	),
	'authManager' => array(
		'class' => 'CDbAuthManager',
		//'connectionID'=>'db',
		'itemTable' => 'erp_auth_item',
		'itemChildTable' => 'erp_auth_item_child',
		'assignmentTable' => 'erp_auth_assignment',
		'defaultRoles' => array(
			'employee'
		),
	),
	'session' => array(
		'class' => 'CCacheHttpSession',
	),
	'recent' => array(
		'class' => 'components.JRecentManager'
	)
);
